<ol class="breadcrumb">
  <li><a href="/ems/store_staffs">员工管理</a></li>
  <li class="active">密码修改</li>
</ol>

<div id="app-container" class="container" myapp="STORE_WECHAT_INFOS_EDIT">


  <div class="app">
     <div class="app-inner clearfix">
         <table id="wechat_table">
          <tbody>
            <%= form_for @staff, url: reset_password_ems_store_staff_path, method: 'put' do |f| %>
             <%= f.hidden_field :store_id, value: @store_id %>
              <tr class="">
                <td class="set-wechat-title">
                  <label for="">姓名:</label>
                </td>
                <td>
                  <span><%= @staff.full_name%></span>
                </td>
              </tr>
              <tr class="">
                <td class="set-wechat-title">
                  <label for="">登录名:</label>
                </td>
                <td>
                  <span><%= @staff.login_name%></span>
                </td>
              </tr>
              <tr class="">
                <td class="set-wechat-title">
                  <label for="">新密码:</label>
                </td>
                <td>
                  <%= f.password_field :password, required: true, class: "ttd" %>
                </td>
              </tr>

              <tr class="">
                <td class="set-wechat-title">
                  <label for="">确认密码:</label>
                </td>
                <td>
                  <%= f.password_field :password_confirmation, required: true, class: "ttd" %>
                </td>
              </tr>
              <p class="help-block error-message" style="color: red;"> <%= notice %></p>

              <tr class="">
                <td colspan="2">
                  <%= f.submit '确定',class: "btn btn-crud position js-confirm-reset-staff-pwd" %>
                </td>
              </tr>
            <% end %>
          </tbody>
        </table>
      </div>
  </div>
</div>
